link static to resolve problem with duplicate symbols

This commit is contained in:
jakob 2003-12-18 23:04:17 +00:00
parent 7d1b43ef2b
commit 7698e28763
2 changed files with 18 additions and 3 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2003/06/16 15:03:29 jakob Exp $
# $OpenBSD: Makefile,v 1.5 2003/12/18 23:04:17 jakob Exp $
COMMENT= "zone transfer program from BIND v8"
VERSION= 8.4.1
PKGNAME= named-xfer-${VERSION}
PKGNAME= named-xfer-${VERSION}p1
DISTNAME= named-xfer-${VERSION}
CATEGORIES= net
DIST_SUBDIR= bind-${VERSION}
@ -28,7 +29,9 @@ PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= simple
WRKDIST= ${WRKDIR}/src
PATCH_LIST=
PATCH_LIST= patch-bin_named-xfer_Makefile
#MAKE_ENV+= LDFLAGS+=-static
do-configure:
cd ${WRKSRC}; ${MAKE_PROGRAM} DST=${WRKBUILD}/obj SRC=${WRKSRC} links

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-bin_named-xfer_Makefile,v 1.1 2003/12/18 23:04:17 jakob Exp $
--- bin/named-xfer/Makefile.orig 2003-12-18 18:31:23.000000000 +0100
+++ bin/named-xfer/Makefile 2003-12-18 18:31:28.000000000 +0100
@@ -44,7 +44,7 @@ INSTALL_EXEC=
INSTALL_LIB=-o bin -g bin
PS=ps
-LDFLAGS=
+LDFLAGS=-static
CFLAGS= ${CDEBUG}
CPPFLAGS= -I${PORTINCL} -I${INCL}