1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Build libtonezone.a with -fPIC, which is necessary at least on AMD64

to allow linking it into the loadable module. Bump PORTREVISION.
This commit is contained in:
Maxim Sobolev 2007-07-22 10:42:30 +00:00
parent 22d259e0ed
commit ca1d7c7231
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196048
2 changed files with 15 additions and 0 deletions

View File

@ -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}

View File

@ -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