diff options
author | vd <vd@FreeBSD.org> | 2009-07-29 15:31:46 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2009-07-29 15:31:46 +0800 |
commit | 4f5dfeab75713eacd01ec61a30c4bf3ba22cd0e9 (patch) | |
tree | 46b5e01366879d3077e68c37678a305eaf89f19a /misc | |
parent | 5619aa6190ecb1f3d1308294f411349e5178587c (diff) | |
download | freebsd-ports-gnome-4f5dfeab75713eacd01ec61a30c4bf3ba22cd0e9.tar.gz freebsd-ports-gnome-4f5dfeab75713eacd01ec61a30c4bf3ba22cd0e9.tar.zst freebsd-ports-gnome-4f5dfeab75713eacd01ec61a30c4bf3ba22cd0e9.zip |
misc/ossp-uuid:
Add -fPIC -DPIC for amd64 and ia64.
PR: ports/13645
Submitted by: mm@
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ossp-uuid/Makefile | 9 |
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> |