aboutsummaryrefslogtreecommitdiffstats
path: root/lang/icon
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committermiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /lang/icon
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadfreebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
Diffstat (limited to 'lang/icon')
-rw-r--r--lang/icon/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/icon/Makefile b/lang/icon/Makefile
index 66e649b2f98b..408499131f5f 100644
--- a/lang/icon/Makefile
+++ b/lang/icon/Makefile
@@ -7,7 +7,7 @@
PORTNAME= icon
PORTVERSION= 9.4.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= http://www.cs.arizona.edu/icon/ftp/packages/unix/
DISTNAME= ${PORTNAME}.v${PORTVERSION:S/.//g}src
@@ -30,8 +30,8 @@ BINXS= colrbook colrpick fontpick palette vib wevents xgamma
CONFIG_CMD= Configure
PLIST_SUB= WITHOUT_X11="@comment "
.else
-USE_XLIB= yes
-CFLAGS+= -I${X11BASE}/include
+USE_XORG= x11 xpm
+CFLAGS+= -I${LOCALBASE}/include
CONFIG_CMD= X-Configure
PLIST_SUB= WITHOUT_X11=
.endif
@@ -39,9 +39,9 @@ PLIST_SUB= WITHOUT_X11=
post-patch:
@${REINPLACE_CMD} -e "s|^CC.*|CC=${CC}|g ; \
s|^CFLAGS.*|CFLAGS=${CFLAGS}|g ; \
- s|/usr/X11R6|${X11BASE}|g ; \
+ s|/usr/X11R6|${LOCALBASE}|g ; \
s|-lpthread|${PTHREAD_LIBS}| ; \
- s|^XLIBS.*|XLIBS=-L${X11BASE}/lib -lX11|g" \
+ s|^XLIBS.*|XLIBS=-L${LOCALBASE}/lib -lX11|g" \
${WRKSRC}/config/${ARCH_NAME}/Makedefs
@${REINPLACE_CMD} -e 's|/opt/icon|${ICONDIR}|g' ${WRKSRC}/ipl/BuildBin
@${REINPLACE_CMD} -e 's|ld -Bshareable|\$$CC -shared|g ; \