aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libgtk-java/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-07-02 13:16:50 +0800
committermarcus <marcus@FreeBSD.org>2005-07-02 13:16:50 +0800
commitfeab703cb9b0d037875274443ca992c2dcf0d224 (patch)
tree5c54c312c39431d6d6229c305cbb61f9818706a8 /x11-toolkits/libgtk-java/Makefile
parentdf61b4a85e77bd6e9894ad087d67343f60ac4c3c (diff)
downloadfreebsd-ports-gnome-feab703cb9b0d037875274443ca992c2dcf0d224.tar.gz
freebsd-ports-gnome-feab703cb9b0d037875274443ca992c2dcf0d224.tar.zst
freebsd-ports-gnome-feab703cb9b0d037875274443ca992c2dcf0d224.zip
Fix patching by coverting the patch target to a UNIX text file first.
Reported by: pointyhat via kris
Diffstat (limited to 'x11-toolkits/libgtk-java/Makefile')
-rw-r--r--x11-toolkits/libgtk-java/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-toolkits/libgtk-java/Makefile b/x11-toolkits/libgtk-java/Makefile
index da38b92cb3b4..2a3d30523156 100644
--- a/x11-toolkits/libgtk-java/Makefile
+++ b/x11-toolkits/libgtk-java/Makefile
@@ -26,12 +26,17 @@ JAVA_VERSION= 1.2+
JAVA_OS= native
USE_GCC= 3.4+
USE_GNOME= gnomehack gtk20
+USE_REINPLACE= yes
CONFIGURE_ARGS= --without-gcj-compile
CONFIGURE_ENV= CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd"
GTK_API_VERSION= 2.6
PLIST_SUB= GTK_API_VERSION=${GTK_API_VERSION} PORTNAME=${PORTNAME}
PKGMESSAGE= ${WRKDIR}/pkg-message
+post-extract:
+ @${REINPLACE_CMD} -e 's| ||' \
+ ${WRKSRC}/gtk2-java.pc.in
+
do-install:
${MKDIR} ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/.libs/libgtkjni-${GTK_API_VERSION}.so \