aboutsummaryrefslogtreecommitdiffstats
path: root/editors/leafpad
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-06-01 08:31:15 +0800
committerbarner <barner@FreeBSD.org>2005-06-01 08:31:15 +0800
commitf388d141d655448211903d03faf5927dfe357cbb (patch)
tree2cd2d0599f01ed213e9934877913d7964ab06f38 /editors/leafpad
parent811544c26333561aa704a00c09b41e918ce640ea (diff)
downloadfreebsd-ports-gnome-f388d141d655448211903d03faf5927dfe357cbb.tar.gz
freebsd-ports-gnome-f388d141d655448211903d03faf5927dfe357cbb.tar.zst
freebsd-ports-gnome-f388d141d655448211903d03faf5927dfe357cbb.zip
- Fix build on 4.x
Submitted by: Ports Fury PR: ports/81723 Approved by: Radek Kozlowski <radek@raadradd.com> (maintainer)
Diffstat (limited to 'editors/leafpad')
-rw-r--r--editors/leafpad/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
index dc09c8494eeb..cee228b1253e 100644
--- a/editors/leafpad/Makefile
+++ b/editors/leafpad/Makefile
@@ -14,15 +14,19 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= radek@raadradd.com
COMMENT= GTK+ based simple text editor
-USE_GNOME= gtk20 gnomehier desktopfileutils
+USE_GNOME= gtk20 gnomehier desktopfileutils intlhack
+USE_GCC= 3.4
+USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" \
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
PTHREAD_LIB="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-chooser
+CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
+
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
.endif