summaryrefslogtreecommitdiff
path: root/graphics/gimp-current
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-03-02 09:39:04 +0000
committertron <tron@pkgsrc.org>2000-03-02 09:39:04 +0000
commit04614a1838e3b32cfb4c501ec8fbe64c2dd75932 (patch)
tree9f2fcda7ec9e367dca9e34243deea0e682e62b5a /graphics/gimp-current
parent9282fa6139d4b700ea16adda326bb8cb509aca03 (diff)
downloadpkgsrc-04614a1838e3b32cfb4c501ec8fbe64c2dd75932.tar.gz
Only add "-Wl,-E" to "LDFLAGS" on ELF systems because the a.out "ld"
doesn't recognize this option.
Diffstat (limited to 'graphics/gimp-current')
-rw-r--r--graphics/gimp-current/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/gimp-current/Makefile b/graphics/gimp-current/Makefile
index 400427356e1..7f841b46a64 100644
--- a/graphics/gimp-current/Makefile
+++ b/graphics/gimp-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2000/03/02 02:12:07 hubertf Exp $
+# $NetBSD: Makefile,v 1.7 2000/03/02 09:39:05 tron Exp $
DISTNAME= gimp-1.1.13
CATEGORIES= graphics
@@ -28,9 +28,15 @@ CONFIGURE_ARGS+= --with-gtk-prefix=${X11BASE} \
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" INTLLIBS="-lintl"
CPPFLAGS= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -Wl,-E
+LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUBST+= LOCALBASE=${LOCALBASE}
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OBJECT_FMT} == ELF)
+LDFLAGS+= -Wl,-E
+.endif
+
post-install:
${TEST} ${PREFIX} = ${LOCALBASE} || \
${LN} -fs ${PREFIX}/share/aclocal/gimp.m4 \