aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vdk/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-06-05 21:34:20 +0800
committersem <sem@FreeBSD.org>2005-06-05 21:34:20 +0800
commit08e7d5e0c46f2acdea4011b821f77153d9a99365 (patch)
tree81c8bb38df89c96666ece0a60cadf8e6267dbb17 /x11-toolkits/vdk/Makefile
parent0ff82829dd7b73b209c836fce409ac7695b5f29f (diff)
downloadfreebsd-ports-gnome-08e7d5e0c46f2acdea4011b821f77153d9a99365.tar.gz
freebsd-ports-gnome-08e7d5e0c46f2acdea4011b821f77153d9a99365.tar.zst
freebsd-ports-gnome-08e7d5e0c46f2acdea4011b821f77153d9a99365.zip
- Update to 2.4.1
PR: ports/81864 Submitted by: Ports Fury
Diffstat (limited to 'x11-toolkits/vdk/Makefile')
-rw-r--r--x11-toolkits/vdk/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/x11-toolkits/vdk/Makefile b/x11-toolkits/vdk/Makefile
index 59b2b91acbf3..cc1c7f4f0188 100644
--- a/x11-toolkits/vdk/Makefile
+++ b/x11-toolkits/vdk/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= vdk
-PORTVERSION= 2.4.0
-PORTREVISION= 2
+PORTVERSION= 2.4.1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vdklib
@@ -16,19 +15,24 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= C++ wrapper for GTK+ toolkit
USE_X_PREFIX= yes
-USE_GNOME= gnometarget gtk20 lthack
+USE_GNOME= gnomehack gnometarget gtk20
USE_REINPLACE= yes
-USE_LIBTOOL_VER=15
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnuregex ${PTHREAD_LIBS}"
+USE_LIBTOOL_VER= 15
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-opt=no --enable-doc-html=no --enable-testvdk=no
INSTALLS_SHLIB= yes
MAN1= vdk-config-2.1
+CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib -lgnuregex ${PTHREAD_LIBS}
+
post-patch:
- @${REINPLACE_CMD} -e 's|CXXFLAGS="-s"|CXXFLAGS="$$CXXFLAGS"|g ; \
- s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|CXXFLAGS="-s"|CXXFLAGS="$$CXXFLAGS"|g' ${WRKSRC}/configure
+.for file in vdk-config-2.in vdk-2.x.pc.in
+ @${REINPLACE_CMD} -e 's|-lpthread|${LDFLAGS}|g' ${WRKSRC}/${file}
+.endfor
.for file in vdk/FileDialog.h vdk/gtksourcebuffer.h vdk/gtksourcetag.h
@${REINPLACE_CMD} -e 's|<regex\.h>|<gnuregex.h>|g' ${WRKSRC}/${file}
.endfor