diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-07-02 05:16:50 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-07-02 05:16:50 +0000 |
commit | 41cb012143cf0fd813d62353c48734c25eeb549e (patch) | |
tree | 7dd13937e83d664a38c8a5b277c335e3028b1625 | |
parent | Fix the build on 4.X. (diff) |
Fix patching by coverting the patch target to a UNIX text file first.
Reported by: pointyhat via kris
Notes
Notes:
svn path=/head/; revision=138331
-rw-r--r-- | x11-toolkits/libgtk-java/Makefile | 5 |
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 \ |