mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- USES=libtool pathfix
- Use MAKE_CMD
This commit is contained in:
parent
73c3d661b1
commit
a44b2f459f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365087
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= uuid
|
||||
PORTVERSION= 1.6.2
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= misc devel
|
||||
MASTER_SITES= ${MASTER_SITE_OSSP}
|
||||
MASTER_SITE_SUBDIR= lib/${PORTNAME}
|
||||
@ -13,8 +13,9 @@ MAINTAINER= vd@FreeBSD.org
|
||||
COMMENT= ISO-C API and CLI for generating Universally Unique Identifiers
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= libtool pathfix
|
||||
USE_LDCONFIG= yes
|
||||
CONFIGURE_ARGS= --disable-shared --enable-static --with-cxx \
|
||||
CONFIGURE_ARGS= --with-cxx \
|
||||
--includedir=${PREFIX}/include/ossp
|
||||
|
||||
.if defined(SLAVEPORT) && ${SLAVEPORT}=="perl"
|
||||
@ -23,15 +24,10 @@ PKGNAMEPREFIX= p5-OSSP-
|
||||
CONFLICTS= e2fsprogs-libuuid-[0-9]*
|
||||
.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
|
||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
|
||||
${MAKEFILE} ${MAKE_ARGS} check)
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,26 +0,0 @@
|
||||
--- Makefile.in.orig 2008-02-21 09:56:57.000000000 +0200
|
||||
+++ Makefile.in 2008-05-30 13:28:33.000000000 +0300
|
||||
@@ -62,7 +62,7 @@
|
||||
PHP = @PHP@
|
||||
PG_CONFIG = @PG_CONFIG@
|
||||
|
||||
-LIB_NAME = libuuid.la
|
||||
+LIB_NAME = libuuid.a
|
||||
LIB_OBJS = uuid.lo uuid_md5.lo uuid_sha1.lo uuid_prng.lo uuid_mac.lo uuid_time.lo uuid_ui64.lo uuid_ui128.lo uuid_str.lo
|
||||
|
||||
DCE_NAME = libuuid_dce.la
|
||||
@@ -226,12 +226,12 @@
|
||||
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)
|
||||
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
|
||||
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir)
|
||||
- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)/pkgconfig
|
||||
+ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)/libdata/pkgconfig
|
||||
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man3
|
||||
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
|
||||
$(SHTOOL) install -c -m 755 uuid-config $(DESTDIR)$(bindir)/
|
||||
$(SHTOOL) install -c -m 644 $(S)/uuid-config.1 $(DESTDIR)$(mandir)/man1/
|
||||
- $(SHTOOL) install -c -m 644 $(S)/uuid.pc $(DESTDIR)$(libdir)/pkgconfig/
|
||||
+ $(SHTOOL) install -c -m 644 $(S)/uuid.pc $(DESTDIR)$(prefix)/libdata/pkgconfig/
|
||||
$(SHTOOL) install -c -m 644 uuid.h $(DESTDIR)$(includedir)/
|
||||
-@if [ ".$(WITH_DCE)" = .yes ]; then \
|
||||
echo "$(SHTOOL) install -c -m 644 $(S)/uuid_dce.h $(DESTDIR)$(includedir)/"; \
|
@ -3,8 +3,13 @@ bin/uuid-config
|
||||
include/ossp/uuid.h
|
||||
include/ossp/uuid++.hh
|
||||
lib/libuuid.a
|
||||
lib/libuuid.so
|
||||
lib/libuuid.so.16
|
||||
lib/libuuid.so.16.0.22
|
||||
lib/libuuid++.a
|
||||
lib/libuuid++.la
|
||||
lib/libuuid++.so
|
||||
lib/libuuid++.so.16
|
||||
lib/libuuid++.so.16.0.22
|
||||
libdata/pkgconfig/uuid.pc
|
||||
man/man1/uuid-config.1.gz
|
||||
man/man1/uuid.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user