1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- fix build for fbsd 10.0 (respect CC)

- add stage support and fix pkg-plist
This commit is contained in:
Andrej Zverev 2014-02-22 13:06:43 +00:00
parent ef2306d640
commit 336f0851eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345633
3 changed files with 18 additions and 3 deletions

View File

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

View File

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

View File

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