patch for pdftk. upgrade from 0.94 to 0.941

=?big5?q?Patrick=20Dung?= patrick_dkt at yahoo.com.hk
Sun Jul 18 09:20:50 PDT 2004


Hi

Please try the attached patch file to the Makefile.

Changes:
Upgrade from 0.94 to 0.941
Author of pdftk now uses CXXFLAGS instead of CC_OPTS
Fix a problem with make deinstall or pkg_delete (I had
used both PLIST_FILES and pkg-plist)

Patrick

_________________________________________________________
¥²±þ§Þ¡B¶¼ºq¡B¤p¬P¬P...
®öº©¹aÁn  ±¡¤ß³sô
http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/
-------------- next part --------------
--- ./Makefile.orig	Tue May 11 15:56:46 2004
+++ ./Makefile	Mon Jul 19 00:11:32 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pdftk
-PORTVERSION=	0.94
+PORTVERSION=	0.941
 CATEGORIES=	print
 MASTER_SITES=	http://www.accesspdf.com/pdftk/
 
@@ -30,10 +30,9 @@
 MAKE_ENV=	CXX=g++33 GCJ=gcj33 GCJH=gcjh33
 
 MAN1=		${PORTNAME}.1
-PLIST_FILES=	bin/pdftk
 
 post-extract:
-	@${REINPLACE_CMD} -e "s|CC_OPTS \+\=|CC_OPTS \+\= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz|g" ${WRKSRC}/Makefile.Base
+	@${REINPLACE_CMD} -e "s|CXXFLAGS \+\=|CXXFLAGS \+\= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz|g" ${WRKSRC}/Makefile.Base
 	@${REINPLACE_CMD} -e "s|g\+\+|g\+\+33|g" ${WRKSRC}/Makefile.Generic
 	@${REINPLACE_CMD} -e "s|MAKE)|MAKE) GXX=g++33 GCJ=gcj33 GCJH=gcjh33| " ${WRKSRC}/Makefile.Base
 


More information about the freebsd-ports mailing list