aboutsummaryrefslogtreecommitdiff
path: root/print/py-cups
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2009-06-20 19:42:12 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2009-06-20 19:42:12 +0000
commit91900ad07e547ace94c5cf4d4a965b1bb917d6b0 (patch)
treed28c9cefa93530cdfc09a9aa38e62b53c96076c1 /print/py-cups
parentad18a4f0786ac7465ebc2dde857fd130acdf1716 (diff)
downloadports-91900ad07e547ace94c5cf4d4a965b1bb917d6b0.tar.gz
ports-91900ad07e547ace94c5cf4d4a965b1bb917d6b0.zip
Notes
Diffstat (limited to 'print/py-cups')
-rw-r--r--print/py-cups/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/py-cups/Makefile b/print/py-cups/Makefile
index 69c9a7bed464..ae21a19839bc 100644
--- a/print/py-cups/Makefile
+++ b/print/py-cups/Makefile
@@ -28,4 +28,8 @@ MAKE_ENV= LDFLAGS="${LDFLAGS}"
PYDISTUTILS_EGGINFO=${PORTNAME}-1.0-py${PYTHON_VER}.egg-info
PLIST_FILES= %%PYTHON_SITELIBDIR%%/cups.so
+pre-configure:
+ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/cupsconnection.c
+
.include <bsd.port.mk>