svn commit: r357395 - in head/net/GeoIP: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jun 10 22:12:47 UTC 2014


Author: amdmi3
Date: Tue Jun 10 22:12:46 2014
New Revision: 357395
URL: http://svnweb.freebsd.org/changeset/ports/357395
QAT: https://qat.redports.org/buildarchive/r357395/

Log:
  - Swith to USES=libtool
  - Fix install as non-root
  - Whitespace fix
  
  Approved by:	portmgr blanket

Added:
  head/net/GeoIP/files/patch-man__Makefile.in   (contents, props changed)
Modified:
  head/net/GeoIP/Makefile

Modified: head/net/GeoIP/Makefile
==============================================================================
--- head/net/GeoIP/Makefile	Tue Jun 10 22:09:53 2014	(r357394)
+++ head/net/GeoIP/Makefile	Tue Jun 10 22:12:46 2014	(r357395)
@@ -3,7 +3,7 @@
 
 PORTNAME=	GeoIP
 PORTVERSION=	1.4.8
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net geography
 MASTER_SITES=	http://geolite.maxmind.com/download/geoip/api/c/
 
@@ -11,9 +11,10 @@ MAINTAINER=	dhn at FreeBSD.org
 COMMENT=	Find the country that any IP address or hostname originates from
 
 CONFIGURE_ARGS=	CC="${CC}" PATH="${PATH}" \
-			CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+		CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
 
-USE_AUTOTOOLS=	libtool
+GNU_CONFIGURE=	yes
+USES=		libtool:oldver
 USE_LDCONFIG=	yes
 
 SUB_FILES=	geoipupdate.sh

Added: head/net/GeoIP/files/patch-man__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/GeoIP/files/patch-man__Makefile.in	Tue Jun 10 22:12:46 2014	(r357395)
@@ -0,0 +1,14 @@
+--- man/Makefile.in.orig	2014-06-05 17:06:15.791427000 +0400
++++ man/Makefile.in	2014-06-05 17:09:15.000000000 +0400
+@@ -446,9 +446,11 @@
+ geoiplookup6.1: geoiplookup6.1.in
+ 
+ install-data-hook:
++	chmod u+w $(DESTDIR)$(mandir)/man1/*.1
+ 	cat geoipupdate.1 | sed s,DATADIR,$(pkgdatadir), | sed s,CONF_DIR,$(sysconfdir), > $(DESTDIR)$(UPDATE_MAN)
+ 	cat geoiplookup.1 | sed s,DATADIR,$(pkgdatadir), > $(DESTDIR)$(LOOKUP_MAN)
+ 	cat geoiplookup6.1 | sed s,DATADIR,$(pkgdatadir), > $(DESTDIR)$(LOOKUP6_MAN)
++	chmod u-w $(DESTDIR)$(mandir)/man1/*.1
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.


More information about the svn-ports-head mailing list