diff options
-rw-r--r-- | graphics/gimp-current/Makefile | 10 | ||||
-rw-r--r-- | graphics/gimp/Makefile | 10 |
2 files changed, 16 insertions, 4 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 \ diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile index d86aae0bbcf..488608e2f8e 100644 --- a/graphics/gimp/Makefile +++ b/graphics/gimp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2000/03/02 02:12:06 hubertf Exp $ +# $NetBSD: Makefile,v 1.46 2000/03/02 09:39:04 tron Exp $ DISTNAME= gimp-1.0.4 CATEGORIES= graphics @@ -34,9 +34,15 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" INFO_FILES= pdb.info 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-configure: @${ECHO_MSG} "--> now configuring in ${GIMP_DATA}" @(cd ${WRKDIR}/${GIMP_DATA} && ${SETENV} ${CONFIGURE_ENV} \ |