mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
* 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
This commit is contained in:
parent
7ef4fd636a
commit
6addcc154f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63842
@ -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>
|
||||
|
@ -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
|
12
security/poc/files/patch-src_Makefile.am
Normal file
12
security/poc/files/patch-src_Makefile.am
Normal file
@ -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 =
|
||||
|
14
security/poc/files/patch-src_missing__libs.h
Normal file
14
security/poc/files/patch-src_missing__libs.h
Normal file
@ -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; \
|
Loading…
Reference in New Issue
Block a user