diff options
author | naddy <naddy@FreeBSD.org> | 2002-08-01 22:09:29 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-08-01 22:09:29 +0800 |
commit | 550da7a9389965b72de590a6e53fcc488bdc35d4 (patch) | |
tree | 76abb616f7dda2a0ed68249cedfd929b3e40f900 /security | |
parent | 37d02b4dc389f6f1957d6a06f4af752427f340ad (diff) | |
download | freebsd-ports-gnome-550da7a9389965b72de590a6e53fcc488bdc35d4.tar.gz freebsd-ports-gnome-550da7a9389965b72de590a6e53fcc488bdc35d4.tar.zst freebsd-ports-gnome-550da7a9389965b72de590a6e53fcc488bdc35d4.zip |
* Add libgnugetopt dependency.
Submitted by: Juan Pablo Villa <juan@datafull.com>
* Respect CFLAGS.
* Use x86 asm only on i386 architecture.
Approved by: no response from maintainer
Diffstat (limited to 'security')
-rw-r--r-- | security/poc/Makefile | 12 | ||||
-rw-r--r-- | security/poc/files/patch-aa | 11 | ||||
-rw-r--r-- | security/poc/files/patch-src_Makefile.am | 12 | ||||
-rw-r--r-- | security/poc/files/patch-src_missing__libs.h | 14 |
4 files changed, 32 insertions, 17 deletions
diff --git a/security/poc/Makefile b/security/poc/Makefile index 98a8e4142705..ee70a1281c91 100644 --- a/security/poc/Makefile +++ b/security/poc/Makefile @@ -13,12 +13,12 @@ MASTER_SITE_SUBDIR=poc MAINTAINER= king@v2project.com -LIB_DEPENDS= towitoko.2:${PORTSDIR}/devel/towitoko +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ + towitoko.2:${PORTSDIR}/devel/towitoko -USE_GMAKE= YES -GNU_CONFIGURE= YES - -CONFIGURE_ENV+=CPPFLAGS=-I${LOCALBASE}/include CFLAGS=-I${LOCALBASE}/include \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +USE_AUTOMAKE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + LIBS="-lgnugetopt" .include <bsd.port.mk> diff --git a/security/poc/files/patch-aa b/security/poc/files/patch-aa deleted file mode 100644 index ef4f73989e62..000000000000 --- a/security/poc/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.in.orig Tue Jun 11 22:28:46 2002 -+++ src/Makefile.in Tue Jun 11 22:29:07 2002 -@@ -93,7 +93,7 @@ - - # debugging - #CFLAGS = -g -Wall --CFLAGS = -Wall -O2 -+CFLAGS = -Wall -O2 -I/usr/local/include -L/usr/local/lib - CPPFLAGS = - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = ../config.h diff --git a/security/poc/files/patch-src_Makefile.am b/security/poc/files/patch-src_Makefile.am new file mode 100644 index 000000000000..24959c9bcc62 --- /dev/null +++ b/security/poc/files/patch-src_Makefile.am @@ -0,0 +1,12 @@ + +$FreeBSD$ + +--- src/Makefile.am.orig Thu Jul 25 16:35:09 2002 ++++ src/Makefile.am Thu Jul 25 16:35:18 2002 +@@ -30,6 +30,4 @@ + + # debugging + #CFLAGS = -g -Wall +-CFLAGS = -Wall -O2 +-CPPFLAGS = + diff --git a/security/poc/files/patch-src_missing__libs.h b/security/poc/files/patch-src_missing__libs.h new file mode 100644 index 000000000000..0dcf40832e8d --- /dev/null +++ b/security/poc/files/patch-src_missing__libs.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/missing_libs.h.orig Thu Jul 25 17:11:57 2002 ++++ src/missing_libs.h Thu Jul 25 17:12:25 2002 +@@ -46,7 +46,7 @@ + #define __bswap_constant_16(x) \ + ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)) + +-#if defined __GNUC__ && __GNUC__ >= 2 ++#if defined __i386__ && defined __GNUC__ && __GNUC__ >= 2 + # define __bswap_16(x) \ + (__extension__ \ + ({ register unsigned short int __v; \ |