ports/59057: Update port: chinese/bg5pdf
Statue
statue at freebsd.sinica.edu.tw
Sat Nov 8 15:40:17 UTC 2003
>Number: 59057
>Category: ports
>Synopsis: Update port: chinese/bg5pdf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 08 07:40:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Statue
>Release: FreeBSD 4.9-PRERELEASE i386
>Organization:
[MAINTAINER]
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #4: Mon Sep 15 18:44:48 CST 2003 root at freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386
>Description:
make it build
bump PORTREVISION
>How-To-Repeat:
>Fix:
diff -ruN bg5pdf.orig/Makefile bg5pdf/Makefile
--- bg5pdf.orig/Makefile Sat Nov 8 23:21:55 2003
+++ bg5pdf/Makefile Sat Nov 8 23:29:45 2003
@@ -7,7 +7,7 @@
PORTNAME= bg5pdf
PORTVERSION= 1.0.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= chinese print
MASTER_SITES= http://cschin.yydolphin.net/bg5pdf/ \
ftp://freebsd.sinica.edu.tw/pub/statue/bg5pdf/
@@ -19,6 +19,11 @@
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g' \
+ ${WRKSRC}/Makefile
do-install:
@${MKDIR} ${EXAMPLESDIR}
diff -ruN bg5pdf.orig/files/patch-ab bg5pdf/files/patch-ab
--- bg5pdf.orig/files/patch-ab Sat Nov 8 23:21:55 2003
+++ bg5pdf/files/patch-ab Sat Nov 8 23:28:58 2003
@@ -2,5 +2,5 @@
+++ Makefile Sat Mar 30 23:01:40 2002
@@ -0,0 +1,3 @@
+all:
-+ ${CC} ${CFLAGS} -shared bg5pdflib.c -I/usr/local/include -I /usr/local/include/python2.2 -L/usr/local/lib -lpdf -o bg5pdflib.so
++ ${CC} ${CFLAGS} -shared bg5pdflib.c -I/usr/local/include -I%%PYTHON_INCLUDEDIR%% -L/usr/local/lib -lpdf -o bg5pdflib.so
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list