aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2007-07-22 10:42:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2007-07-22 10:42:30 +0000
commitca1d7c72312ea8c2171a56898734d7e9422be0a2 (patch)
tree595d25e432b17b83df8236eae4d36b07c5fff7d7 /misc
parent22d259e0ed85408067427e099339eec346e16cc1 (diff)
downloadports-ca1d7c72312ea8c2171a56898734d7e9422be0a2.tar.gz
ports-ca1d7c72312ea8c2171a56898734d7e9422be0a2.zip
Build libtonezone.a with -fPIC, which is necessary at least on AMD64
to allow linking it into the loadable module. Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=196048
Diffstat (limited to 'misc')
-rw-r--r--misc/zaptel/Makefile1
-rw-r--r--misc/zaptel/files/patch-ztcfg::Makefile14
2 files changed, 15 insertions, 0 deletions
diff --git a/misc/zaptel/Makefile b/misc/zaptel/Makefile
index 08d2dd1dbda3..b92f10394fe5 100644
--- a/misc/zaptel/Makefile
+++ b/misc/zaptel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zaptel
PORTVERSION= 1.4.6
+PORTREVISION= 1
CATEGORIES= misc kld
MASTER_SITES= http://www.pbxpress.com/~gonzo/
DISTNAME= ${PORTNAME}-bsd-${PORTVERSION}
diff --git a/misc/zaptel/files/patch-ztcfg::Makefile b/misc/zaptel/files/patch-ztcfg::Makefile
new file mode 100644
index 000000000000..19fa2819fe63
--- /dev/null
+++ b/misc/zaptel/files/patch-ztcfg::Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- ztcfg/Makefile
++++ ztcfg/Makefile
+@@ -3,7 +3,7 @@
+ LOCALBASE?=/usr/local
+ PREFIX?=/usr/local
+ CFLAGS+=-I. -I../zaptel -I${LOCALBASE}/include -DUSE_LOCAL_INCLUDE=1 \
+- -DPREFIX=\"${PREFIX}\"
++ -DPREFIX=\"${PREFIX}\" -fPIC
+ INSTALL=/usr/bin/install
+ BSD_INSTALL_PROGRAM?=${INSTALL} -o root -g wheel -m 755 -s
+ BSD_INSTALL_DATA?=${INSTALL} -o root -g wheel -m 644