mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
28 lines
957 B
Diff
28 lines
957 B
Diff
diff -ru gorm-1.2.20/GNUmakefile gorm-1.2.20.patched/GNUmakefile
|
|
--- gorm-1.2.20/GNUmakefile 2010-05-30 12:55:26.000000000 +0600
|
|
+++ gorm-1.2.20.patched/GNUmakefile 2014-12-10 22:21:18.000000000 +0600
|
|
@@ -24,6 +24,23 @@
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
#
|
|
|
|
+ifeq ($(GNUSTEP_MAKEFILES),)
|
|
+ GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
|
+ ifeq ($(GNUSTEP_MAKEFILES),)
|
|
+ $(warning )
|
|
+ $(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
|
|
+ $(warning Perhaps gnustep-make is not properly installed,)
|
|
+ $(warning so gnustep-config is not in your PATH.)
|
|
+ $(warning )
|
|
+ $(warning Your PATH is currently $(PATH))
|
|
+ $(warning )
|
|
+ endif
|
|
+endif
|
|
+
|
|
+ifeq ($(GNUSTEP_MAKEFILES),)
|
|
+ $(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
|
+endif
|
|
+
|
|
PACKAGE_NAME = gorm
|
|
export PACKAGE_NAME
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|