mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Update to 1.2: using getopt from binutils 2.12.1/2.11.2
This commit is contained in:
parent
070a268043
commit
d6eb1f4d15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66783
3 changed files with 4 additions and 22 deletions
|
@ -12,13 +12,14 @@
|
|||
# distfile. -- David O'Brien <obrien@FreeBSD.org>
|
||||
|
||||
PORTNAME= libgnugetopt
|
||||
PORTVERSION= 1.1
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= obrien
|
||||
MASTER_SITE_SUBDIR= lioux
|
||||
|
||||
MAINTAINER= lioux@FreeBSD.org
|
||||
|
||||
USE_BZIP2= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
do-install:
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (libgnugetopt-1.1.tar.gz) = 9b891a8b17a05448cddb134118d83281
|
||||
MD5 (libgnugetopt-1.2.tar.bz2) = 356d12620d006a71a307f339803a86a2
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
--- Makefile.orig Mon May 3 00:33:35 1999
|
||||
+++ Makefile Sun Mar 11 14:59:36 2001
|
||||
@@ -2,10 +2,15 @@
|
||||
# GNU getopt library
|
||||
#
|
||||
|
||||
-all: libgnugetopt.so.1
|
||||
+all: libgnugetopt.so.1 libgnugetopt.a
|
||||
|
||||
libgnugetopt.so.1: getopt.o getopt1.o
|
||||
${CC} ${CFLAGS} -shared -Wl,-soname,libgnugetopt.so.1 -o libgnugetopt.so.1 getopt.o getopt1.o
|
||||
+
|
||||
+libgnugetopt.a: getopt.o getopt1.o
|
||||
+ @echo building static libgnugetopt library
|
||||
+ ar cq libgnugetopt.a `lorder getopt.o getopt1.o | tsort -q`
|
||||
+ ranlib libgnugetopt.a
|
||||
|
||||
getopt1.o: getopt1.c
|
||||
${CC} ${CFLAGS} -fPIC -o getopt1.o -c -s getopt1.c
|
Loading…
Add table
Reference in a new issue