aboutsummaryrefslogtreecommitdiff
path: root/misc/ossp-uuid
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2009-07-29 07:31:46 +0000
committerVasil Dimov <vd@FreeBSD.org>2009-07-29 07:31:46 +0000
commit38b33751ba6a057203b2dda5f2ae9618a392c794 (patch)
tree14fe25e16d5cedfac446b0364ecd9d888c78f366 /misc/ossp-uuid
parente83296068e9ea746f8b1bd170b25ccab4d4f757a (diff)
downloadports-38b33751ba6a057203b2dda5f2ae9618a392c794.tar.gz
ports-38b33751ba6a057203b2dda5f2ae9618a392c794.zip
Notes
Diffstat (limited to 'misc/ossp-uuid')
-rw-r--r--misc/ossp-uuid/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile
index b59777eca022..2198a92a981e 100644
--- a/misc/ossp-uuid/Makefile
+++ b/misc/ossp-uuid/Makefile
@@ -7,6 +7,7 @@
PORTNAME= uuid
PORTVERSION= 1.6.2
+PORTREVISION= 1
CATEGORIES= misc devel
MASTER_SITES= ${MASTER_SITE_OSSP}
MASTER_SITE_SUBDIR= lib/${PORTNAME}
@@ -35,9 +36,15 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
PLIST_SUB+= WITH_PERL='@comment '
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fPIC -DPIC
+.endif
+
regression-test: test
test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>