summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/fox-devel/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-10-30 09:36:55 +0000
committerknu <knu@FreeBSD.org>2001-10-30 09:36:55 +0000
commit5c14084f51199689cb6809373fa1e7540ca08092 (patch)
treedbd953affa230cbda1dee79e123408f883c63836 /x11-toolkits/fox-devel/Makefile
parentc59f99522fb88de1c42b2bf5c72b91fca346e08b (diff)
downloadFreeBSD-ports-5c14084f51199689cb6809373fa1e7540ca08092.zip
FreeBSD-ports-5c14084f51199689cb6809373fa1e7540ca08092.tar.gz
- Unbreak the support for jpeg and png.
Reported by: Jim Freeze <jfreeze@freebsdportal.com> - Fix the name of the macro to enable the Unicode support. Submitted by: HIDAKA Takahiro <cv8t-hdk@asahi-net.or.jp> - Bump the PORTREVISION accordingly.
Diffstat (limited to 'x11-toolkits/fox-devel/Makefile')
-rw-r--r--x11-toolkits/fox-devel/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11-toolkits/fox-devel/Makefile b/x11-toolkits/fox-devel/Makefile
index 211e4b8..f0191c9 100644
--- a/x11-toolkits/fox-devel/Makefile
+++ b/x11-toolkits/fox-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fox
PORTVERSION?= 0.99.174
+PORTREVISION?= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://www.fox-toolkit.org/ftp/ \
ftp://ftp.fox-toolkit.org/pub/ \
@@ -29,7 +30,7 @@ PATCH_DIST_STRIP= -p1
BUILD_DEPENDS= ${X11BASE}/include/xunicode/xunicode.h:${PORTSDIR}/converters/xunicode
-CONFIGURE_ENV= X_CFLAGS=-DUSE_XUNICODE
+CONFIGURE_ENV= X_CFLAGS=-DUSE_UNICODE
PLIST_SUB= NEWFILE="@comment "
.else
@@ -38,7 +39,9 @@ PLIST_SUB= NEWFILE=""
USE_MESA= yes
INSTALLS_SHLIB= yes
-CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
+CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--with-opengl=mesa --with-x
.if defined(NO_SHM)
CONFIGURE_ARGS+=--with-shm=no
OpenPOWER on IntegriCloud