aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/amule/Makefile5
-rw-r--r--net-p2p/amule/files/patch-configure15
2 files changed, 18 insertions, 2 deletions
diff --git a/net-p2p/amule/Makefile b/net-p2p/amule/Makefile
index 8cbac11f4553..38182eaaec7e 100644
--- a/net-p2p/amule/Makefile
+++ b/net-p2p/amule/Makefile
@@ -7,6 +7,7 @@
PORTNAME= amule
PORTVERSION= 2.3.1
+PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= SF/${PORTNAME}/aMule/${PORTVERSION}
DISTNAME= aMule-${PORTVERSION}
@@ -16,7 +17,7 @@ COMMENT= The all-platform eMule p2p client
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-LICENSE_FILE_GPLv2=${WRKSRC}/docs/COPYING
+#LICENSE_FILE_GPLv2=${WRKSRC}/docs/COPYING
CONFLICTS= amule-devel-[0-9]*
@@ -37,7 +38,7 @@ CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -lpng
+LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
OPTIONS= ALC "Compile aMule Link Creator for GUI" on \
ALCC "Compile aMule Link Creator for console" on \
diff --git a/net-p2p/amule/files/patch-configure b/net-p2p/amule/files/patch-configure
new file mode 100644
index 000000000000..9737b66bdd72
--- /dev/null
+++ b/net-p2p/amule/files/patch-configure
@@ -0,0 +1,15 @@
+--- configure.orig 2011-11-11 21:59:26.000000000 +0100
++++ configure 2011-12-11 17:11:22.000000000 +0100
+@@ -7360,9 +7360,9 @@
+ SAVED_LDFLAGS=$LDFLAGS
+ SAVED_LIBS=$LIBS
+
+- CFLAGS+=" $LIBPNG_CFLAGS"
+- LDFLAGS+=" $LIBPNG_LDFLAGS"
+- LIBS+=" $LIBPNG_LIBS"
++ CFLAGS="$CFLAGS $LIBPNG_CFLAGS"
++ LDFLAGS="$LDFLAGS $LIBPNG_LDFLAGS"
++ LIBS="$LIBS $LIBPNG_LIBS"
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */ \ No newline at end of file