aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/fox-devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-10-30 17:36:55 +0800
committerknu <knu@FreeBSD.org>2001-10-30 17:36:55 +0800
commit5c14084f51199689cb6809373fa1e7540ca08092 (patch)
treedbd953affa230cbda1dee79e123408f883c63836 /x11-toolkits/fox-devel
parentc59f99522fb88de1c42b2bf5c72b91fca346e08b (diff)
downloadfreebsd-ports-gnome-5c14084f51199689cb6809373fa1e7540ca08092.tar.gz
freebsd-ports-gnome-5c14084f51199689cb6809373fa1e7540ca08092.tar.zst
freebsd-ports-gnome-5c14084f51199689cb6809373fa1e7540ca08092.zip
- 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')
-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 211e4b8dc1f4..f0191c9fe8b7 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