aboutsummaryrefslogtreecommitdiff
path: root/devel/glib12
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-05-30 07:57:34 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-05-30 07:57:34 +0000
commit8ae1c82f7bfcb38a9cd7c1bca80ed8eb5c5b2b49 (patch)
treedbda3b63b7faddc6c029cc9223c8911cca492ba1 /devel/glib12
parentafc9553a7879f7b40447c1bf8b47a3530dc0972f (diff)
downloadports-8ae1c82f7bfcb38a9cd7c1bca80ed8eb5c5b2b49.tar.gz
ports-8ae1c82f7bfcb38a9cd7c1bca80ed8eb5c5b2b49.zip
Notes
Diffstat (limited to 'devel/glib12')
-rw-r--r--devel/glib12/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/glib12/Makefile b/devel/glib12/Makefile
index 33049fc82c8d..46b3441d7426 100644
--- a/devel/glib12/Makefile
+++ b/devel/glib12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= glib
PORTVERSION= 1.2.10
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/glib/1.2
@@ -18,6 +18,7 @@ COMMENT= Some useful routines of C programming (previous stable version)
USE_GNOME= pkgconfig
USE_LIBTOOL_VER= 13
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
LIBTOOLFLAGS= --disable-ltlibs --release-suffix
CONFIGURE_ARGS= --includedir=${PREFIX}/include/glib12
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
@@ -26,6 +27,11 @@ CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
MAN1= glib-config.1
INFO= glib
+post-patch:
+ @${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|-lc_r|${PTHREAD_LIBS}|g'
+
post-install:
${LN} -sf ${PREFIX}/bin/glib-config ${PREFIX}/bin/glib12-config