summaryrefslogtreecommitdiff
path: root/databases/clip/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-04-24 19:34:55 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-04-24 19:34:55 +0000
commited23609d109b698064ec4ea50376f13c9a6c0e06 (patch)
treef538bd0a75883ab42897f508fbfef324f9f7d669 /databases/clip/Makefile
parentAdd a fix for a bug that prevented dvd+rw tools from finalizing discs. (diff)
Unbreak package building.
On FreeBSD-STABLE, it seems impossible to link with -liodbc.3 without giving PTHREAD_LIBS (and PTHREAD_CFLAGS), then the ODBC driver was not built. Approved by: portmgr (marcus).
Notes
Notes: svn path=/head/; revision=107804
Diffstat (limited to 'databases/clip/Makefile')
-rw-r--r--databases/clip/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/clip/Makefile b/databases/clip/Makefile
index d70bcea90a95..4280b0568ab9 100644
--- a/databases/clip/Makefile
+++ b/databases/clip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= clip
PORTVERSION= 1.1.9.1
+PORTREVISION= 1
CATEGORIES= databases lang
MASTER_SITES= ftp://ftp.linux.ru.net/mirrors/clip/ \
ftp://ftp.lastik.ru/clip/ \
@@ -104,6 +105,8 @@ pre-configure:
-e "s|#!/bin/sh|#!${LOCALBASE}/bin/bash|" \
-e "s|/usr/local|${LOCALBASE}|g" \
-e "s|/usr/X11R6|${X11BASE}|g"
+ @${REINPLACE_CMD} -e "s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|" \
+ -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" ${WRKSRC}/cliplibs/clip-odbc/configure
do-install:
${CP} -R ${WRKDIR}/cliproot ${PREFIX}/clip