aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2014-02-22 21:06:43 +0800
committeraz <az@FreeBSD.org>2014-02-22 21:06:43 +0800
commit68794b705552d1b251ca8e55c2e88d22a357611e (patch)
tree3960bcf37af996872609a0fb6a8354082b9ca01d
parente142b7cdf39d1bdb7e8155b969223bb087c519c1 (diff)
downloadfreebsd-ports-gnome-68794b705552d1b251ca8e55c2e88d22a357611e.tar.gz
freebsd-ports-gnome-68794b705552d1b251ca8e55c2e88d22a357611e.tar.zst
freebsd-ports-gnome-68794b705552d1b251ca8e55c2e88d22a357611e.zip
- fix build for fbsd 10.0 (respect CC)
- add stage support and fix pkg-plist
-rw-r--r--databases/p5-qdbm/Makefile5
-rw-r--r--databases/p5-qdbm/files/patch-Makefile.in15
-rw-r--r--databases/p5-qdbm/pkg-plist1
3 files changed, 18 insertions, 3 deletions
diff --git a/databases/p5-qdbm/Makefile b/databases/p5-qdbm/Makefile
index 9b7819a4e6c2..40336c6a5947 100644
--- a/databases/p5-qdbm/Makefile
+++ b/databases/p5-qdbm/Makefile
@@ -6,7 +6,7 @@ PKGNAMEPREFIX= p5-
COMMENT= Perl API for QDBM
SLAVEPORT= perl
-USES= perl5
+USES= perl5 shebangfix
MASTERDIR= ${.CURDIR}/../../databases/qdbm
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/perl
@@ -14,7 +14,8 @@ PLIST= ${.CURDIR}/pkg-plist
DESCR= ${.CURDIR}/pkg-descr
PATCHDIR= ${.CURDIR}/files
+SHEBANG_FILES= mypldoc curia/plcrtest depot/pldptest villa/plvltest
+
MAKE_JOBS_UNSAFE= yes
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/databases/p5-qdbm/files/patch-Makefile.in b/databases/p5-qdbm/files/patch-Makefile.in
new file mode 100644
index 000000000000..c41668245581
--- /dev/null
+++ b/databases/p5-qdbm/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+--- ./Makefile.in.orig 2014-02-22 20:37:23.684230972 +0400
++++ ./Makefile.in 2014-02-22 20:37:32.400230373 +0400
+@@ -25,10 +25,10 @@
+ DESTDIR =
+
+ # Building binaries
+-CC = gcc
++CC ?= gcc
+ INC = -I. -I../.. -I$(HOME)/include -I/usr/local/include
+ OPTIMIZE = -O2
+-LD = gcc
++LD ?= gcc
+ LIBS = -L../.. -I$(HOME)/lib -L/usr/local/lib -lqdbm @LIBS@
+ RUNENV = LD_LIBRARY_PATH=.:..:../..:/usr/local/lib:$(HOME)/lib
+
diff --git a/databases/p5-qdbm/pkg-plist b/databases/p5-qdbm/pkg-plist
index c93f9a7778d4..9989131e2e78 100644
--- a/databases/p5-qdbm/pkg-plist
+++ b/databases/p5-qdbm/pkg-plist
@@ -1,7 +1,6 @@
bin/plcrtest
bin/pldptest
bin/plvltest
-lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/perllocal.pod
%%SITE_PERL%%/%%PERL_ARCH%%/Curia.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Depot.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Villa.pm