aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gnustep-gui
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-12-24 21:49:20 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-12-24 21:49:20 +0000
commit82b0d02c94b086c31a2a3c3740ab455a3108d030 (patch)
tree8884ce2a04ecb3598e8b19cfe6700b988fd14198 /x11-toolkits/gnustep-gui
parent97b20ea3920a9d722b6b8178e3b19096c278e911 (diff)
- Fix build of old variant
Notes
Notes: svn path=/head/; revision=71838
Diffstat (limited to 'x11-toolkits/gnustep-gui')
-rw-r--r--x11-toolkits/gnustep-gui/Makefile5
-rw-r--r--x11-toolkits/gnustep-gui/files/extra-pa_unix_oss.c (renamed from x11-toolkits/gnustep-gui/files/patch-pa_unix_oss.c)0
2 files changed, 4 insertions, 1 deletions
diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile
index 1e9c7de94b1d..5afcd7b20aa8 100644
--- a/x11-toolkits/gnustep-gui/Makefile
+++ b/x11-toolkits/gnustep-gui/Makefile
@@ -33,6 +33,7 @@ LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
BREAKS_IF_PEDANTIC= yes
.if defined(GNUSTEP_GUI_DEVEL)
+EXTRA_PATCHES= ${FILESDIR}/extra-pa_unix_oss.c
PLIST_SUB+= DEVEL=""
PLIST_SUB+= NODEVEL="@comment "
.else
@@ -52,7 +53,7 @@ CONFIGURE_TARGET=
USE_GMAKE= yes
MAKEFILE=
MAKE_FLAGS+= OPTFLAG="${CFLAGS}"
-MAKE_FLAGS+= ADDITIONAL_LIB_DIRS=/usr/local/lib to core/gui/Source/GNUmakefile.preamble
+MAKE_FLAGS+= ADDITIONAL_LIB_DIRS=/usr/local/lib
NO_MTREE= yes
CONFIGURE_ARGS+= --with-tiff-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-tiff-include=${LOCALBASE}/include
@@ -75,11 +76,13 @@ post-extract:
@${CP} ${PREFIX}/System/Makefiles/${file} ${WRKSRC}
.endfor
+.if defined(GNUSTEP_GUI_DEVEL)
pre-configure:
@ ${MV} ${EXTRA_FIX} ${EXTRA_FIX}.sed
${SED} -e "s=-lphread=${PTHREAD_LIBS}=" -e "s;CFLAGS =;CFLAGS+=;" \
-e "s;-Wall;-Wall ${PTHREAD_CFLAGS:S=""==};" \
${EXTRA_FIX}.sed > ${EXTRA_FIX}
+.endif
do-configure:
@(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
diff --git a/x11-toolkits/gnustep-gui/files/patch-pa_unix_oss.c b/x11-toolkits/gnustep-gui/files/extra-pa_unix_oss.c
index 4a88b41dee54..4a88b41dee54 100644
--- a/x11-toolkits/gnustep-gui/files/patch-pa_unix_oss.c
+++ b/x11-toolkits/gnustep-gui/files/extra-pa_unix_oss.c